package com.group.admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.admin.dao.CustomerServiceManagementDao;
import com.group.admin.entity.CustomerServiceManagementEntity;
import com.group.admin.service.CustomerServiceManagementService;


@Service("customerServiceManagementService")
public class CustomerServiceManagementServiceImpl extends ServiceImpl<CustomerServiceManagementDao, CustomerServiceManagementEntity> implements CustomerServiceManagementService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CustomerServiceManagementEntity> page = this.page(
                new Query<CustomerServiceManagementEntity>().getPage(params),
                new QueryWrapper<CustomerServiceManagementEntity>()
        );

        return new PageUtils(page);
    }

}